package com.qyhl.webtv.commonlib.constant;

import com.qyhl.webtv.commonlib.common.CommonUtils;

/**
 * 地址配置文件
 *
 * @author qyhl
 * @date 2019年2月28日15:37:00
 */
public class PathConfigConstant {

    /**
     * 音频保存路径
     */
    public static final String VoicePath = "/voice";

    /**
     * 视频保存路径
     */
    public static final String VideoPath = CommonUtils.getInstance().getCachePath() + "/video";

    /**
     * 广告保存文件夹
     */
    public static final String Adv = CommonUtils.getInstance().getCachePath() + "/advertisement";

    /**
     * 图片保存文件夹
     */
    public static final String Pic = CommonUtils.getInstance().getCachePath() + "/picture";

    /**
     * apk保存路径
     */
    public static final String Apk = CommonUtils.getInstance().getCachePath() + "/apk";

    /**
     * apk文件名
     */
    public static final String APK_NAME = "WebTV_YunShang.apk";


    //--------------------------------------------配置信息---------------------------------------------------
    /**
     * 自由内容站点
     */
    public static final int OWNER_SITE_ID = 142;

    public static final String HSH_TAGNAME = "hsh";

    /**
     * 通知唯一id
     */
    public static final int NOTIFICATION_ID = 200;


    public static String version = "1";

    public static final String QUESTION_VERSION = "1";

    public static final String SCHOOL_VERSION = "1";

    public static final String SCHOOL_VERSION_NEW = "2";

    /**
     * 加密key
     */
    public static String codeKey = "";

    public static int curProgress = 0;

    public static int goodsProgress = 0;

    /**
     * h5 页面传递的参数
     */
    public static String H5_PID = "";
    /**
     * h5 页面传递的参数
     */
    public static String H5_PTYPE = "";

    public final static String ip = "127.0.0.1";

    /**
     * 七牛上传图片token
     */
    public static final String UPLOAD_TOKEN = "http://v.ccsobey.com/upload/appGetToken.c";
    /**
     * 设备类型
     */
    public static final String TerminalType = "ANDROID";
    /**
     * 是否正在下载
     */
    public static boolean isLoading = false;
}
